<style tyle="text/css">
  .redWord {
    color: #F00
  }
</style>
<div class="bg-light lter b-b wrapper-md">
  <h1 class="m-n font-thin h3">企业申报</h1>
</div>
<div class="panel panel-default">
  <div class="panel-body">
    <!-- 申报信息表单 -->
    <form name="form" class="form-horizontal" ng-show="fromData.register">
      <div class="form-group">
        <h4 class="col-lg-4 control-label">企业名称：</h4>
        <h4 class="col-lg-4 control-label text-left">{{info.company_name}}</h4>
      </div>
      <div class="form-group">
        <h4 class="col-lg-4 control-label"><b class="redWord">* </b>负责人：</h4>
        <h4 class="col-lg-4 input-group">
          <input type="text" class="form-control" ng-model="company.master">
        </h4>
      </div>
      <div class="form-group">
        <h4 class="col-lg-4 control-label"><b class="redWord">* </b>负责人手机：</h4>
        <h4 class="col-lg-4 input-group">
          <input type="text" class="form-control" ng-model="company.mobile">
        </h4>
      </div>
      <div class="form-group">
        <h4 class="col-lg-4 control-label"><b class="redWord">* </b>执照编号：</h4>
        <h4 class="col-lg-4 input-group">
          <input type="text" class="form-control" ng-model="company.license_code">
        </h4>
      </div>
      <div class="form-group">
        <h4 class="col-lg-4 control-label">地址：</h4>
        <h4 class="col-lg-4 input-group">
          <input type="text" class="form-control" ng-model="company.address">
        </h4>
      </div>
      <div class="form-group">
        <h4 class="col-lg-4 control-label">邮箱：</h4>
        <h4 class="col-lg-4 input-group">
          <input type="email" class="form-control" ng-model="company.email">
        </h4>
      </div>
      <div class="form-group">
        <h4 class="col-lg-4 control-label"><b class="redWord">* </b>营业执照：</h4>
        <h4 class="col-lg-5">
          <img ng-src="{{company.license_img}}" width="350" height="200" ng-model="company.license_img">
          <input type="file" nv-file-select uploader="uploader" accept="image/*"/> <br/>
          <ul class="list-group">
            <li class="list-group-item" ng-repeat="item in uploader.queue">
              文件名:<span ng-bind="item.file.name"></span>
              <button type="button" class="btn btn-default btn-xs" ng-click="item.upload()">
                <span class="glyphicon glyphicon-upload"></span> 上传
              </button>
              <div class="progress" style="margin: 5px 0px">
                <div class="progress-bar" role="progressbar" ng-style="{'width': uploader.progress + '%' }"></div>
              </div>
            </li>
          </ul>
        </h4>
      </div>
      <button class="col-lg-2 col-lg-offset-4 btn btn-success" type="button" ng-click="ok()">申 报</button>
    </form>

    <!-- 申报结果 -->
    <form name="form1" class="form-horizontal" style="height: 150px" ng-show="!fromData.register">
      <h3 class="col-lg-12 text-center" style="line-height: 150px">
        <span ng-show="fromData.status">{{fromData.msg}}</span>
        <i class="fa fa-spin fa-spinner hide show inline" ng-show="!fromData.status"></i>
      </h3>
      <button class="col-lg-2 col-lg-offset-5 btn btn-success" ng-show="fromData.status == '2'"
       type="button" ng-click="reApply()">重 新 申 报</button>
    </form>

  </div>
</div>
